package com.edu.oracle.service;

import com.edu.oracle.pojo.Student;
import com.edu.oracle.pojo.ViewStudent;

import java.util.List;

public interface StudentService {
    /*查询所有用户信息*/
    List<Student> getStuList();

    /*实现查询一个学生信息*/
    Student selectByOne(String sno);

    /*实现视图查询*/
    List<ViewStudent> viewSelect() ;


    //更新数据
    boolean updateStudent(Student student);

    boolean addByOne(Student student);

    void deleteStudent(String sno);
}
